package com.crm.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.base.PageResult;
import com.crm.domain.dto.BusinessDto;
import com.crm.domain.entity.Business;
import com.crm.domain.vo.BusinessVo;

import java.util.List;

public interface BusinessService extends IService<Business> {
    PageResult<BusinessVo> queryAll(BusinessDto businessDto);

    void add(Business business);

    boolean checkIfExistsByPhone(String phone);


}
